<?php
	
?>
<div id="toolbar-box" class="title">
	<div class="top-box">
		<div class="top-box">
			<div class="top-box"></div>
		</div>
	</div>
	<div class="m-box">
		<div class="icon-page title-home"></div>
		<div class="h2"><?php echo $this->title; ?></div>
		<div class="clear" style="padding-bottom: 5px;"></div>
	</div>
	<div class="bottom-box">
		<div class="bottom-box">
			<div class="bottom-box"></div>
		</div>
	</div>
</div>
<?php if (isset($this->msg)) { ?>
	<div class="alert"><?php echo $this->msg['isEmpty']; ?></div>
<?php } ?>
<div class="navbar-inner">
	<form id="about" action="" method="post" enctype="multipart/form-data" name="news">
		<?php 
			echo $this->textarea;
			$_SESSION['userfoldername'] = '/company_img/';
			$toolbar = array (
						array( 'Source', '-', 'Preview', 'Print', '-', 'Templates' ),
						array( 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ),
						array( 'Bold', 'Italic', 'Underline', 'Strike', '-', 'TextColor', 'BGColor' ),
						array( 'Styles', 'Format', 'Font', 'FontSize' ),
						array( 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ),
						array( 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent' ),
						array( 'Image', 'Link', 'Unlink' ),
						array( 'Find', 'Replace', 'Maximize' )
					);
			echo $this->editorElement('noi_dung', array('toolbar' => $toolbar), '99%');
		?>
		<div style="text-align: center;margin: 20px 0;">
			<input class="btn btn-primary" type="submit" value="Chỉnh sửa" name="submit" />
		</div>
	</form>
</div>